package com.xnyzc.lhy.finance.service.fegin.jpush.follback;

import com.xnyzc.lhy.finance.service.fegin.jpush.FeignJPushService;
import com.xnyzc.lhy.resource.entity.jpush.BizResult;
import com.xnyzc.lhy.resource.entity.jpush.PushInfoEntity;
import com.xnyzc.lhy.resource.entity.jpush.ResultCode;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class FeignJPushServiceImpl implements FeignJPushService {

    /**
     * 推送失败
     * @param pushInfoEntity
     * @return
     */
    @Override
    public BizResult pushMessage(PushInfoEntity pushInfoEntity) {
        log.error("消息推送失败");
        BizResult bizResult = new BizResult();
        bizResult.setResultCode(ResultCode.INTERNAL_SERVER_ERROR);
        return bizResult;
    }

}
